package com.xb.cloud.product.service.business.model.mapper;

import com.xb.cloud.product.service.business.model.RecommendSku;
import com.xb.cloud.product.service.business.model.RecommendSkuExample;
import com.xb.cloud.product.service.client.bo.SkuBO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface RecommendSkuMapper {
    long countByExample(RecommendSkuExample example);

    int deleteByExample(RecommendSkuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RecommendSku record);

    int insertSelective(RecommendSku record);

    List<RecommendSku> selectByExample(RecommendSkuExample example);

    RecommendSku selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RecommendSku record, @Param("example") RecommendSkuExample example);

    int updateByExample(@Param("record") RecommendSku record, @Param("example") RecommendSkuExample example);

    int updateByPrimaryKeySelective(RecommendSku record);

    int updateByPrimaryKey(RecommendSku record);

	List<SkuBO> getSkuByBackendCategoryList(Map<String, Object> criteriaMap);
}